#include "LPC11XX.H"

void LedInit(void)
{
   LPC_SYSCON->SYSAHBCLKCTRL |=(1<<16);
	 LPC_IOCON->PIO2_0 &=~0x07;
	 LPC_IOCON->PIO2_0 |=0x00;
   LPC_SYSCON->SYSAHBCLKCTRL &=~(1<<16);
	 LPC_SYSCON->SYSAHBCLKCTRL |=(1<<6);
   LPC_GPIO2->DIR |=(1<<0);
	 LPC_GPIO2->DATA |=(1<<0);


}
